I = imread('D:\code\matlab\football.jpg');
I = rescale(I);
figure
imshow(I)
title('Original Image')
J = imrotate(I,45);
figure
imshow(J)
title('Rotated Image')